package com.googlecode.dummywarhead.volatilepenalty;

import org.multiverse.annotations.TransactionalObject;

@TransactionalObject
public class STMCounter implements Counter {

	long cntr;
	
	@Override
	public void hit() {
		cntr++;
	}

	@Override
	public long get() {
		return cntr;
	}

}
